//
//  FZShareViewWithRemake.h
//  EnglishTalk
//
//  Created by huyanming on 16/9/20.
//  Copyright © 2016年 Feizhu Tech. All rights reserved.
//
#import <UIKit/UIKit.h>


#import "FZShareView.h"

@interface FZShareViewWithRemake : UIView  <UICollectionViewDataSource, UICollectionViewDelegate, UIGestureRecognizerDelegate>

@property (nonatomic, strong) UIView *remarkView;


@property (assign, nonatomic) BOOL cancelButtonHidden; //default is NO
@property (copy, nonatomic) void(^shareViewDidClickItemBlock)(FZShareViewWithRemake *shareView,NSInteger index);
@property (nonatomic, strong) UIView *contentView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UIView *lineView;
@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, strong) UIView *cancelSeparatorView;
@property (nonatomic, strong) UIButton *cancelButton;

@property (nonatomic, strong) NSArray *itemTitles;
@property (nonatomic, strong) NSArray *itemImages;
@property (nonatomic) NSInteger itemCount;

- (void)layoutCollectionView;

- (id)initWithTitle:(NSString *)title itemTitles:(NSArray *)itemTitles images:(NSArray *)images;
- (void)showInview:(UIView *)parentView;


@end
